package com.chinacoal.hr.levelimpl.dao;

import com.chinacoal.hr.levelapi.entity.TransPaperDetail;
import com.chinacoal.hr.levelimpl.mapper.TransPaperDetailMapper;
import org.springframework.stereotype.Repository;

import javax.annotation.Resource;

/**
 * @author: YunTao.Li
 * @create: 2019-11-18 15:41
 * @description:
 **/
@Repository
public class TransPaperDetailDao {

    @Resource
    private TransPaperDetailMapper transPaperDetailMapper;

    public void insertTransPaperDetail(TransPaperDetail record) {
        transPaperDetailMapper.insert(record);

    }

    public void updateTransPaperDetail(TransPaperDetail record) {
        transPaperDetailMapper.updateById(record);
    }
}
